<template>
  <!--维修工单-->
  <div>
    <!--查找-->
    <el-row>
      <span style="padding: 0 10px"><i class="font-14 el-icon-s-open"></i></span>
      <el-select v-model="type" @change="changeType" placeholder="全部数据" style="width: 120px">
          <el-option v-for="item in AllOptions" :key="item.value"
                     :label="item.label" :value="item.value">
          </el-option>
      </el-select>
      <span style="padding: 0 10px 0 30px"><i class="fn el-icon-message-solid"></i></span>
      <el-input @change="changeType" placeholder="请输入内容"  suffix-icon="el-icon-search" style="width: 150px" v-model="search"></el-input>
      <span>工单主题搜索</span>
    </el-row>
    <!--新建工单-->
    <el-row style="margin-top: 15px">
      <el-col :span="12">
        <span set-lan="html:维修工单">维修工单</span>
        <small class="text-muted font-13">共{{totalSize}}条</small>
      </el-col>
      <el-col :span="12" class="text-right">
        <el-button type="text" @click="dialogFormVisible = true">
          <el-button size="small" icon="el-icon-circle-plus-outline">新建</el-button>
        </el-button>
      </el-col>
      <!--维修工单dialog-->
      <el-dialog title="维修工单" :visible.sync="dialogFormVisible" width="60%" @open="openDialog" @close="closeDialog" style="color: #333333"  >
        <el-form :model="maintenance" label-width="100px" :rules="rules">
          <el-divider><span class="font-14-bold">单号与接件</span></el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="工单主题:">
                <el-input v-model="maintenance.maiNo" style="width: 79%"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item  label="接单人:">
                <el-input :disabled="true" v-model="emp.empName" style="width: 79%"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="接件日期:">
                <el-date-picker type="date" v-model="maintenance.maiDate" placeholder="选择日期" style="width:79%"></el-date-picker>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="分类:">
                <el-select v-model="maintenance.maiConnectorClassify" placeholder="未选" style="width:79%">
                  <el-option v-for="item in gdFenlei" :key="item.value"
                             :label="item.label" :value="item.value">
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="客户:">
                <el-input :disabled="true" v-model="maintenance.customerByCustomerId.customerName" style="width:79%"></el-input>
              </el-form-item>
              <div class="form-inline" v-show="isCustomer">
                <el-input v-model="customerValue" clearable size="medium" placeholder="拼音.字母.关键字" style="width: 35%"></el-input>
                <el-button @click="findCustomer" size="medium" icon="el-icon-search"></el-button>
                <el-popover placement="top" v-model="visible">
                  <div style="margin-bottom: 10px">
                    <span>查询条件:{{customerValue}}</span>
                    <span @click="closeEmp" class="cursor" style="float: right"><i class="el-icon-error"></i></span>
                  </div>
                  <ul class="cu-ul" v-if="customerList2 !== ''">
                    <li @click="choiceCustomer2(item)" v-for="item in customerList2">{{item.customerName}}</li>
                  </ul>
                  <div style="margin: 5px 0;text-align: center" v-if="customerList2 == ''">
                    <i class="el-icon-warning-outline"/>没有符合条件的客户！
                  </div>
                </el-popover>
                <el-tooltip class="item" effect="dark" content="浏览选择客户" placement="bottom">
                  <el-button @click="innerVisible(cusCurrPage,cusPageSize)" size="medium" icon="el-icon-s-operation"></el-button>
                </el-tooltip>
              </div>
            </el-col>
            <el-col :span="12">
              <el-form-item  label="联系人:">
                <el-select v-model="maintenance.maiContactName" placeholder="未选" style="width:79%">
                  <el-option v-for="(item,index) in contactList" :key="index" :label="item.contactName" :value="item.contactName">
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider><span class="font-14-bold">接件详情</span></el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="维修产品:">
                <el-input v-model="maintenance.maiProductName" style="width:79%"></el-input>
              </el-form-item>
              <div class="form-inline">
                <el-input size="medium" placeholder="拼音.字母.关键字" style="width: 35%"></el-input>
                <el-button size="medium" icon="el-icon-search"></el-button>
                <el-tooltip class="item" effect="dark" content="浏览选择产品" placement="bottom">
                  <el-button @click="innerVisible2(proCurrPage,proPageSize)"  size="medium" icon="el-icon-s-operation"></el-button>
                </el-tooltip>
              </div>
            </el-col>
            <el-col :span="12">
              <el-form-item label="承接部门:" style="width: 370px">
                <el-select value-key="deptId" v-model="maintenance.departmentByDeptId" placeholder="未选" style="width: 270px">
                  <el-option v-for="item in deptList" :key="item.deptId"
                             :label="item.deptName" :value="item"  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="故障描述:">
                <el-input type="textarea" v-model="maintenance.maiFaultDescription" :autosize="{ minRows: 2, maxRows: 4}" style="width:79%"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="注意事项:">
                <el-input type="textarea" v-model="maintenance.maiPoints" :autosize="{ minRows: 2, maxRows: 4}" style="width:79%"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="状态:">
                <el-select v-model="maintenance.maiExecuteState" placeholder="未选" style="width:79%">
                  <el-option v-for="item in state" :key="item.value"
                             :label="item.label" :value="item.value">
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider><span class="font-14-bold">费用与执行</span></el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="费用:">
                <el-input v-model="maintenance.maiCost" placeholder="￥0.00" style="width:79%"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="已收款:">
                <el-input v-model="maintenance.maiReceivable" placeholder="￥0.00" style="width:79%"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="进度:">
              <el-radio-group v-model="radio1">
                <el-radio :label=1>执行中</el-radio>
                <el-radio :label=2>结束</el-radio>
                <el-radio :label=3>意外中止</el-radio>
              </el-radio-group>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="交付日期:">
                <el-date-picker v-model="maintenance.maiDeliverDate" type="date" placeholder="选择日期" style="width:79%"></el-date-picker>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="备注:">
                <el-input v-model="maintenance.maiRemarks" type="textarea" :autosize="{ minRows: 2, maxRows: 4}" style="width:79%"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12" :offset="7">
              <el-form-item>
                <el-button type="primary" @click="addMaintenance()">保存</el-button>
                <el-button @click="dialogFormVisible = false">取消</el-button>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
        <!--内层dialog-->
        <el-dialog width="30%" title="全部客户" :visible.sync="innerDialog" append-to-body>
          <!--选择客户-->
          <el-table :data="customerList" style="width: 100%">
            <el-table-column prop="customerId" label="客户编号" >
            </el-table-column>
            <el-table-column prop="customerName" label="客户名" >
            </el-table-column>
            <el-table-column label="请选择" >
              <template slot-scope="scope">
                <el-button size="mini" @click="choiceCustomer(scope.row)" icon="el-icon-check" type="primary" circle style="margin-left: 10px"></el-button>
              </template>
            </el-table-column>
          </el-table>
          <el-row style="margin-top:10px">
            <el-col :span="16">
              <el-pagination layout="prev, pager, next, jumper" :total="cusTotalSize" @current-change="cusChangePage"
                             :current-page.sync="cusCurrPage" :page-size="cusPageSize"></el-pagination>
            </el-col>
          </el-row>
        </el-dialog>
        <!--内层dialog2-->
        <el-dialog width="30%" title="全部产品" :visible.sync="innerDialog2" append-to-body>
          <!--选择产品-->
          <el-table :data="productList" style="width: 100%">
            <el-table-column prop="productId" label="产品编号" >
            </el-table-column>
            <el-table-column prop="productName" label="产品名" >
            </el-table-column>
            <el-table-column label="请选择" >
              <template slot-scope="scope">
                <el-button size="mini" @click="choiceProduct(scope.row)" icon="el-icon-check" type="primary" circle style="margin-left: 10px"></el-button>
              </template>
            </el-table-column>
          </el-table>
            <el-row style="margin-top:10px">
              <el-col :span="16">
                <el-pagination layout="prev, pager, next, jumper" :total="proTotalSize" @current-change="proChangePage"
                               :current-page.sync="proCurrPage" :page-size="proPageSize"></el-pagination>
              </el-col>
            </el-row>
        </el-dialog>
      </el-dialog>
    </el-row>
    <!--维修工单表格-->
    <el-table ref="multipleTable" :data="maintenanceList" tooltip-effect="dark"
              style="width: 100%"  @selection-change="handleSelectionChange" border>
      <el-table-column type="selection" ></el-table-column>
      <el-table-column prop="maiId" label="ID" wsortable></el-table-column>
      <el-table-column label="工单主题" >
        <template slot-scope="scope">
          <router-link :to="'/maintenanceview'">
            <div style="color: #333333">
              <i class="el-icon-caret-right"></i>
              <span >{{scope.row.maiNo}}</span>
            </div>
          </router-link>
        </template>
      </el-table-column>
      <el-table-column label="对应客户" >
        <template slot-scope="scope">
          <div style="color: #333333">
            <span >{{scope.row.customerByCustomerId.customerName}}</span>
            <el-tooltip class="item" effect="dark" content="打开详细页面" placement="bottom">
              <router-link :to="'/maintenanceview'">
                  <span style="color: #333333">
                    <i class="el-icon-s-opportunity"></i>
                  </span>
              </router-link>
            </el-tooltip>
          </div>
        </template>
      </el-table-column>
      <el-table-column prop="maiProductName" label="维修产品" ></el-table-column>
      <el-table-column prop="maiCost" label="费用" ></el-table-column>
      <el-table-column prop="maiReceivable" label="已收款" ></el-table-column>
      <el-table-column prop="maiExecuteState" label="状态" >
        <template slot-scope="scope">
          <span v-if="scope.row.maiExecuteState===1">接件</span>
          <span v-if="scope.row.maiExecuteState===2">待检测</span>
          <span v-if="scope.row.maiExecuteState===3">待与客户确认</span>
          <span v-if="scope.row.maiExecuteState===4">待维修</span>
          <span v-if="scope.row.maiExecuteState===5">待沟通</span>
          <span v-if="scope.row.maiExecuteState===6">维修中</span>
          <span v-if="scope.row.maiExecuteState===7">待支付</span>
          <span v-if="scope.row.maiExecuteState===8">已交付</span>
        </template>
      </el-table-column>
      <el-table-column prop="maiConnectorClassify" label="分类" >
        <template slot-scope="scope">
          <span v-if="scope.row.maiConnectorClassify===1">产品投诉</span>
          <span v-if="scope.row.maiConnectorClassify===2">服务投诉</span>
          <span v-if="scope.row.maiConnectorClassify===3">客户意见</span>
          <span v-if="scope.row.maiConnectorClassify===4">其他</span>
        </template>
      </el-table-column>
      <el-table-column prop="employeeByEmpId.empName"  label="接单人" ></el-table-column>
      <el-table-column prop="" label="操作" width="135px">
        <template slot-scope="scope">
          <router-link :to="{path:'/maintenanceview',query: {maiId: scope.row.maiId}}">
            <el-tooltip class="item" effect="dark" content="视图" placement="bottom">
              <el-button size="mini"
                         icon="el-icon-tickets" type="success" circle></el-button>
            </el-tooltip>
          </router-link>
          <el-tooltip class="item" effect="dark" content="编辑" placement="bottom">
            <el-button size="mini" @click="handleEdit(scope.row)"
                       icon="el-icon-edit" type="primary" circle style="margin-left: 10px"></el-button>
          </el-tooltip>
          <el-tooltip class="item" effect="dark" content="删除" placement="bottom">
            <el-button size="mini" @click="handleDelete(scope.row)"
                       icon="el-icon-delete" type="danger" circle></el-button>
          </el-tooltip>
        </template>
      </el-table-column>
    </el-table>
    <!-- 分页 -->
    <el-row style="margin-top:10px">
      <el-col :span="8">
        <el-tooltip class="item" effect="dark" content="删除" placement="bottom">
          <el-button style="padding: 12px 12px" icon="el-icon-delete"
                     @click="handleDeleteMany" type="danger"></el-button>
        </el-tooltip>
      </el-col>
      <el-col :span="16">
        <el-pagination :page-size="pageSize"  layout="prev, pager, next, jumper"  @current-change="changePage"
                       :total="totalSize"></el-pagination>
      </el-col>
    </el-row>
  </div>
</template>

<script>export default {
  data () {
    return {
      emp: {},
      emp2: {},
      type: '',
      search: '',
      radio1: 1,
      pageSize: 2, // 分页页大小
      currPage: 1, // 当前页码，默认为1
      totalSize: 0, // 总记录数
      customerList: [], // 员工客户名称
      productList: [], // 产品名称
      contactList: [], // 联系人集合
      cusPageSize: 2, // 分页页大小
      cusCurrPage: 1, // 当前页码，默认为1
      cusTotalSize: 0, // 总记录数
      proPageSize: 2, // 分页页大小
      proCurrPage: 1, // 当前页码，默认为1
      proTotalSize: 0, // 总记录数
      isCustomer: true, // 客户搜索显示
      isProduct: true, // 产品搜索显示
      innerDialog: false, // 内层dialog客户
      innerDialog2: false, // 内层dialog部门
      innerDialogEmp: false, // 内层dialog员工
      customerValue: '', // 模糊查询客户
      customerList2: [], // 模糊查询结果
      visible: false, // 模糊搜索结果
      maintenanceList: [],
      maintenance: {
        maiId: 0,
        maiDate: '',
        maiConnectorClassify: '',
        maiFaultDescription: '',
        maiPoints: '',
        maiSchedule: '',
        maiCost: '',
        maiReceivable: '',
        maiExecuteState: '',
        maiDeliverDate: '',
        maiRemarks: '',
        maiContactName: '',
        maiProductName: '',
        maiNo: '',
        employeeByEmpId: '',
        departmentByDeptId: '',
        customerByCustomerId: ''
      },
      AllOptions: [{
        value: 0,
        label: '全部数据'},
      {
        value: 1,
        label: '接件'},
      {
        value: 2,
        label: '待检测'},
      {
        value: 3,
        label: '待与客户确认'},
      {
        value: 4,
        label: '待维修'},
      {
        value: 5,
        label: '待沟通'},
      {
        value: 6,
        label: '维修中'},
      {
        value: 7,
        label: '待交付'},
      {
        value: 8,
        label: '已交付'}],
      state: [
        {
          value: 1,
          label: '接件'},
        {
          value: 2,
          label: '待检测'},
        {
          value: 3,
          label: '待与客户确认'},
        {
          value: 4,
          label: '待维修'},
        {
          value: 5,
          label: '待沟通'},
        {
          value: 6,
          label: '维修中'},
        {
          value: 7,
          label: '待交付'},
        {
          value: 8,
          label: '已交付'}],
      dialogFormVisible: false,
      gdFenlei: [{
        value: 1,
        label: '产品销售'
      }, {
        value: 2,
        label: '服务'
      }, {
        value: 3,
        label: '业务合作'
      }, {
        value: 4,
        label: '代理分销'
      }, {
        value: 5,
        label: '其他'
      }],
      deptList: [],
      deptValue: '',
      radio: '1',
      direction: 'rtl',
      rules: {
        name: [
          { required: true, message: '请输入活动名称', trigger: 'blur' },
          { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
        ]},
      mulSelection: []
    }
  },
  methods: {
    // 查询当前员工
    loginEmp () {
      this.$axios.get('http://localhost:8088/emp')
        .then(v => {
          this.emp = v.data
          this.emp2 = this.emp
        })
        .catch(function (v) {})
    },
    initData (currPage, pageSize) {
      this.$axios.get('http://localhost:8088/maintenance-list', {params: {page: currPage, size: pageSize, search: this.search, type: this.type}})
        .then(v => {
          this.maintenanceList = v.data.rows
          this.totalSize = v.data.total
        })
        .catch(function (v) {})
    },
    addMaintenance () {
      this.maintenance.maiSchedule = this.radio1
      // eslint-disable-next-line no-undef
      this.$axios.post('http://localhost:8088/maintenance-addMaintenance', this.maintenance)
        .then(v => {
          // 1、刷新数据
          this.initData(this.currPage, this.pageSize, this.search, this.type)
          // 2、关闭弹框
          this.dialogFormVisible = false
          // 3、重新初始化表单数据模型
          this.maintenance = {
            maiId: 0,
            maiDate: '',
            maiConnectorClassify: '',
            maiFaultDescription: '',
            maiPoints: '',
            maiSchedule: '',
            maiCost: '',
            maiReceivable: '',
            maiExecuteState: '',
            maiDeliverDate: '',
            maiRemarks: '',
            maiContactName: '',
            maiProductName: '',
            maiNo: '',
            employeeByEmpId: '',
            departmentByDeptId: '',
            customerByCustomerId: ''
          }
        })
        .catch(function (v) {})
    },
    handleEdit (val) {
      this.dialogFormVisible = true
      this.maintenance.maiId = val.maiId
      this.maintenance.maiDate = val.maiDate
      this.maintenance.maiConnectorClassify = val.maiConnectorClassify
      this.maintenance.maiFaultDescription = val.maiFaultDescription
      this.maintenance.maiPoints = val.maiPoints
      this.maintenance.maiCost = val.maiCost
      this.maintenance.maiReceivable = val.maiReceivable
      this.maintenance.maiExecuteState = val.maiExecuteState
      this.maintenance.maiDeliverDate = val.maiDeliverDate
      this.maintenance.maiRemarks = val.maiRemarks
      this.maintenance.maiContactName = val.maiContactName
      this.maintenance.maiProductName = val.maiProductName
      this.maintenance.maiNo = val.maiNo
      this.maintenance.departmentByDeptId = val.departmentByDeptId
      this.maintenance.customerByCustomerId = val.customerByCustomerId
      this.radio1 = val.maiSchedule
      this.emp = val.employeeByEmpId
      this.choiceContact(this.maintenance.customerByCustomerId)
    },
    changePage (val) {
      this.initData(val, this.pageSize, this.search, this.type)
    },
    changeType () {
      this.initData(1, this.pageSize, this.search, this.type)
    },
    // 打开dialog事件
    openDialog () {
      this.maintenance.employeeByEmpId = this.emp
    },
    // 关闭dialog事件
    closeDialog () {
      this.maintenance = {
        maiId: 0,
        maiDate: '',
        maiConnectorClassify: '',
        maiFaultDescription: '',
        maiPoints: '',
        maiSchedule: '',
        maiCost: '',
        maiReceivable: '',
        maiExecuteState: '',
        maiDeliverDate: '',
        maiRemarks: '',
        maiContactName: '',
        maiProductName: '',
        maiNo: '',
        employeeByEmpId: '',
        departmentByDeptId: '',
        customerByCustomerId: ''
      }
      this.isProduct = true
      this.isCustomer = true
      this.emp = this.emp2
    },
    // 打开内层dialog
    innerVisible (cusCurrPage, cusPageSize) {
      this.$axios.get('http://localhost:8088/emp-customer-list', {
        params: {
          page: cusCurrPage,
          size: cusPageSize,
          empId: this.emp.empId
        }
      })
        .then(v => {
          this.customerList = v.data.rows
          this.cusTotalSize = v.data.total
        })
        .catch(function (v) {})
      this.innerDialog = true
    },
    // 打开内层dialog
    innerVisible2 (proCurrPage, proPageSize) {
      this.$axios.get('http://localhost:8088/product-list', {
        params: {
          page: proCurrPage,
          size: proPageSize
        }
      })
        .then(v => {
          this.productList = v.data.rows
          this.proTotalSize = v.data.total
        })
        .catch(function (v) {})
      this.innerDialog2 = true
    },
    // 客户分页
    cusChangePage (val) {
      // val就是当前页码
      this.innerVisible(val, this.cusPageSize)
    },
    // 产品分页
    proChangePage (val) {
      // val就是当前页码
      this.innerVisible2(val, this.proPageSize)
    },
    // 选择客户
    choiceCustomer (val) {
      this.maintenance.customerByCustomerId = val
      console.log(this.maintenance.customerByCustomerId)
      this.choiceContact(val.customerId)
      this.innerDialog = false
    },
    // 选择客户
    choiceProduct (val) {
      this.maintenance.maiProductName = val.productName
      this.innerDialog2 = false
    },
    // 选择联系人
    choiceContact (customerId) {
      this.$axios.get('http://localhost:8088/contact-list', {
        params: {
          customerId: customerId
        }
      })
        .then(v => {
          this.contactList = v.data
        })
        .catch(function (v) {})
    },
    // 模糊查询客户
    findCustomer () {
      // eslint-disable-next-line eqeqeq
      if (this.customerValue != '') {
        this.visible = true
        this.$axios.get('http://localhost:8088/emp-fuzzy-customer-list', {
          params: {
            customerName: this.customerValue
          }
        })
          .then(v => {
            this.customerList2 = v.data
          })
          .catch(function (v) {})
      } else {
        this.visible = false
      }
    },
    // 模糊选择客户
    choiceCustomer2 (val) {
      console.log(val)
      this.maintenance.customerByCustomerId = val
      this.choiceContact(val.customerId)
      this.visible = false
    },
    // 失去焦点关闭模糊搜索框
    closeEmp(){
      this.visible = false
      this.customerValue = ''
    },
    openView (val) {
      this.$axios.post('http://localhost:8080/#/maintenanceview')
    },
    handleDelete (val) {
      this.$confirm('此操作将永久删除销售机会, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        console.log(val['id'])
        this.$axios.post('http://localhost:8080/save-emp', this.qs.stringify(val['id']))
        this.$message({
          type: 'success',
          message: '删除成功!'
        })
      }).catch(() => {
        this.$message({
          type: 'info',
          message: '已取消删除'
        })
      })
    },
    handleDeleteMany () {
      this.$confirm('此操作将永久删除勾选销售机会, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        this.deleteAll()
        this.$message({
          type: 'success',
          message: '删除成功!'
        })
      }).catch(() => {
        this.$message({
          type: 'info',
          message: '已取消删除'
        })
      })
    },
    handleSelectionChange (val) {
      this.mulSelection = val
    },
    deleteAll () {
      this.mulSelection.forEach(row => {
        console.log(row)
        this.$axios.post('http://localhost:8080/#/maintenanceview', this.maintenance.stringify(row))
      })
    }
  },
  created: function () {
    this.loginEmp()
    this.initData(this.currPage, this.pageSize, this.search, this.type)
    this.$axios.get('http://localhost:8088/dept-all-list')
      .then(v => {
        this.deptList = v.data
      })
      .catch(function (v) {})
  }
}
</script>

<style>
  .font-14{
    font-size: 14px
  }

  .text-muted {
    color: #98a6ad;
  }
  .font-13 {
    font-size: 13px !important;
  }
  .text-right {
    text-align: right;
    float: right;
  }
  .form-inline{
    position: relative;
    top: -15px;
    left: 100px;
  }
  .font-14-bold{
    color: #000000;
    font-weight: bold;
  }
</style>
